Skip to content

Document publisher gating download blocking and blocked regions - #2646

Merged
gary149 merged 5 commits into
mainfrom
docs-publisher-gating-download-blocking
Jul 21, 2026
Merged

Document publisher gating download blocking and blocked regions#2646
gary149 merged 5 commits into
mainfrom
docs-publisher-gating-download-blocking

Conversation

@gary149

@gary149 gary149 commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Updates the Advanced settings section of the Gating Group Collections page to cover the publisher gating changes that shipped for Enterprise Plus orgs.

Previously the docs only described blocked countries auto-rejecting access requests on gated repos. The settings now also include:

  • Blocked regions, for territories that aren't distinct countries and so can't be picked from the country list.
  • An Enforcement choice between "Gated repositories" (auto-reject access requests, the previous behavior) and "All repositories", which also denies downloads on every repo including public ones, shows a "not available in your region" notice, and disables the dataset viewer for blocked visitors.

Also notes that org members aren't exempt from enforcement.

Notes for reviewers

  • This content lives on the Gating Group Collections page because that's where the existing blocked-countries paragraph was. The "All repositories" scope applies org-wide and isn't specific to gating group collections, so it may deserve its own page or a home under the Enterprise docs. Happy to move it if you'd prefer.
  • The Advanced Gating tab name is unchanged, though it now covers more than gating.

Note

Low Risk
Documentation-only change with no runtime or security behavior impact.

Overview
Updates the Advanced settings section on the Gating Group Collections page to match current Enterprise Plus Publisher Analytics → Advanced Gating behavior.

The intro now describes blocking or auto-rejecting visitors by location across org models and datasets (not only auto-rejecting gated access requests). New Enforcement docs explain Gated repositories vs All repositories (download denial on public repos, regional notice, dataset viewer off). It also states enforcement applies to signed-in and anonymous visitors from blocked locations, and org members are not exempt.

A Blocked locations subsection adds Blocked regions alongside Blocked countries (ISO alpha-2), for territories that cannot be picked from the country list.

Reviewed by Cursor Bugbot for commit f810476. Bugbot is set up for automated code reviews on this repo. Configure here.

@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@julien-c julien-c left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

two suggestions

Comment thread docs/hub/enterprise-gating-group-collections.md Outdated
Comment thread docs/hub/enterprise-gating-group-collections.md Outdated
gary149 and others added 2 commits July 21, 2026 14:36
Co-authored-by: Julien Chaumond <julien@huggingface.co>
Co-authored-by: Julien Chaumond <julien@huggingface.co>
@gary149
gary149 merged commit 86be61b into main Jul 21, 2026
3 checks passed
@gary149
gary149 deleted the docs-publisher-gating-download-blocking branch July 21, 2026 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants